package com.bdqn.zhang.service;

import com.bdqn.zhang.entity.RealEstate;

import java.util.List;

/**
 * Created by 任 on 2019/4/11.
 */
public interface RealEstateService {
    /**
     * 根据条件查询房产信息
     */
    public List<RealEstate> findByestate(RealEstate estate);
    /**
     * 分页
     * @param page
     * @param limit
     * @return
     */
    List<RealEstate> findAllRealEstate(Integer page, Integer limit);


    /**
     * 修改
     */
    boolean delRealEstate(RealEstate realEstate);
    /**
     * 刪除
     */
    boolean updRealEstate(RealEstate realEstate);

    /**
     * 添加
     */
    boolean addRealEstate(RealEstate realEstate);
}
